﻿using System;
using Airborne.ScrumPoker.Model.TeamFoundation;

namespace Airborne.ScrumPoker.Module.ProductOwner.Views
{
    public interface IWorkItemDetailsView
    {
        /// <summary>
        /// Save workitem event.
        /// </summary>
        event EventHandler<EventArgs> SaveWorkItem;
        
        event EventHandler<EventArgs> NextWorkItem;

        event EventHandler<EventArgs> PreviousWorkItem; 

        /// <summary>
        /// Workitem that the view is bound to.
        /// </summary>
        ITeamWorkItem WorkItem { get; set; }
    }
}
